//
//  AppData.h
//  drinkApp
//
//  Created by HexPang on 14/8/29.
//  Copyright (c) 2014年 CnbizMedia. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AppAPIClient.h"
#define KEY_SINA_WEIBO @"271505821"
#define URL_REDIRECT_SINA_WEIBO @"http://www.kanshangjie.com/"
#define DISTRICT_KEY @"district"
#include <sys/types.h>
#include <sys/sysctl.h>
#import "Util.h"

@interface AppData : NSObject
+ (instancetype)sharedClient;
- (void)initData;
- (NSString *)districtNameBy:(NSString *)disId;
- (NSDictionary *)allDistrict;
- (void)showShareDialog:(NSString*)url withTitle:(NSString*)title description:(NSString*)description forView:(UIView*)view withImage:(UIImage*)image  cancel:(void (^)())cancel failure:(void (^)(int errorCode, NSString *errorMessage))failure result:(void (^)(NSDictionary *respones))result;
- (BOOL)isLogin;
+ (NSString*)deviceType;
+ (NSString*)platformString;
@end
